package com.banach.prema.executor;

import com.banach.prema.repository.AlarmRepository;
import com.ego.framework.dto.Response;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author ajun
 *
 */
@RestController
public class AlarmDeleteExe {

	@Resource
	private AlarmRepository alarmRepository;

	public Response delete(List<Long> ids) {
		Boolean res = alarmRepository.logicDeleteByIds(ids);
		return Response.build(res);
	}


}
